libxl: fix build with make prior to 3.81
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Jan 2012 17:51:11 +0000 (17:51 +0000)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Jan 2012 17:51:11 +0000 (17:51 +0000)
Up to 3.80, make only supported simple 'else' constructs, which got
violated by 24432:e0effa7c04f5.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile

index 78bc589da8f135152032e6947545fd0576f16ad0..3c3661bfdd369af652650a3d30ffc6567661a26c 100644 (file)
@@ -35,12 +35,14 @@ LIBXL_OBJS-$(CONFIG_IA64) += libxl_nocpuid.o
 
 ifeq ($(CONFIG_NetBSD),y)
 LIBXL_OBJS-y += libxl_netbsd.o
-else ifeq ($(CONFIG_Linux),y)
+else
+ifeq ($(CONFIG_Linux),y)
 LIBXL_OBJS-y += libxl_linux.o
 else
 $(error Your Operating System is not supported by libxenlight, \
 please check libxl_linux.c and libxl_netbsd.c to see how to get it ported)
 endif
+endif
 
 LIBXL_LIBS += -lyajl